package com.lwm.base;

/**
 * @author liweimin
 * @date 2020/9/23 9:13
 * @description
 */
public class CaseTest {
    public static void main(String[] args) {
        String string = "A";
        switch (string) {
            case "A":
                System.out.println("Good");
                break;
            case "B":
                System.out.println("Fine");
                break;
            case "C":
                System.out.println("Ok");
                break;
            case "D":
                System.out.println("No");
                break;
            default:
                System.out.println("【表情】");

        }
    }
}
